package com.driving.single.common.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "tb_coach")
public class TbCoach implements Serializable {
    /**
     * 教练ID
     */
    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 教练名称
     */
    @Column(name = "`name`")
    private String name;

    /**
     * 教练头像
     */
    @Column(name = "coach_icon")
    private String coachIcon;

    /**
     * 驾照类型   （, 号分割）
     */
    @Column(name = "license_type")
    private String licenseType;

    /**
     * 地址
     */
    @Column(name = "address")
    private String address;

    /**
     * 驾校区域  （, 号分割）
     */
    @Column(name = "area")
    private String area;

    /**
     * 拿本人数
     */
    @Column(name = "pass_total")
    private Integer passTotal;

    /**
     * 教龄
     */
    @Column(name = "teach_age")
    private Integer teachAge;

    /**
     * 是否 已认证  1:是  0:否
     */
    @Column(name = "is_auth")
    private Boolean isAuth;

    /**
     * 驾校ID
     */
    @Column(name = "school_id")
    private Long schoolId;

    /**
     * 所属驾校
     */
    @Column(name = "school_name")
    private String schoolName;

    /**
     * 是否脾气好  1是   0否
     */
    @Column(name = "is_kind")
    private Boolean isKind;

    /**
     * 是否 好评多  1:是 0否
     */
    @Column(name = "is_good")
    private Boolean isGood;

    /**
     * 是否 免费接送  1是 0否
     */
    @Column(name = "is_pick")
    private Boolean isPick;

    /**
     * 总评分
     */
    @Column(name = "total_score")
    private BigDecimal totalScore;

    /**
     * 服务评分
     */
    @Column(name = "service_score")
    private BigDecimal serviceScore;

    /**
     * 教学评分
     */
    @Column(name = "teach_score")
    private BigDecimal teachScore;

    /**
     * 脾气评分
     */
    @Column(name = "temper_score")
    private BigDecimal temperScore;

    /**
     * 收费评分
     */
    @Column(name = "pay_score")
    private BigDecimal payScore;

    /**
     * 单人价格
     */
    @Column(name = "alone_price")
    private Integer alonePrice;

    /**
     * 团购价格
     */
    @Column(name = "team_price")
    private Integer teamPrice;

    /**
     * 教练自我介绍
     */
    @Column(name = "introduction")
    private String introduction;

    /**
     * 报名电话
     */
    @Column(name = "phone")
    private String phone;

    /**
     * 创建时间
     */
    @Column(name = "created")
    private Date created;

    /**
     * 更新时间
     */
    @Column(name = "updated")
    private Date updated;

    private static final long serialVersionUID = 1L;
}